@charset "utf-8";
@import 'reset';
// 抽奖页面
.web {
    background-color: #62bbe5;
    width: 100%;
    height: 100%;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    .container {
        width: 100%;
        height: 100%;
        background: url(../img/newbg.jpg) no-repeat top center/100%;
        position: absolute;
        max-width: 750px;
        display: block;
        .title {
            width: 59%;
            height: 95px;
            margin: 0 auto;
            text-align: center;
            background: url(../img/title.png) no-repeat center/100%;
            position: relative;
            top: 185px;
            h1 {
                font-size: 32px;
                color: #fffffe;
                line-height: 80px;
                letter-spacing: 3px;
                font-weight: normal;
            }
        }
        .tips {
            position: relative;
            .prize,
            .rule {
                width: 15%;
                height: 35px;
                text-align: center;
                background: url(../img/button.png) no-repeat center/100%;
                position: absolute;
                top: 190px;
                span {
                    width: 100%;
                    font-size: 17px;
                    color: #f66e0c;
                    line-height: 35px;
                }
            }
            .prize {
                left: 254px;
            }
            .rule {
                left: 380px;
            }
        }
        .message {
            width: 76%;
            position: absolute;
            top: 335px;
            left: 50%;
            transform: translateX(-50%);
            img {
                width: 100%;
            }
            .mess_con {
                width: 98%;
                // line-height: 40px;
                font-size: 18px;
                color: #f66e0c;
                position: absolute;
                top: 7px;
                left: 50%;
                transform: translateX(-50%);
                .icon-laba {
                    font-size: 25px;
                    // vertical-align: top;
                }
                .scroll {
                    width: 78%;
                    vertical-align: bottom;
                }
            }
        }
        .time {
            font-size: 26px;
            color: #3f89d1;
            position: absolute;
            top: 400px;
            left: 50%;
            transform: translateX(-50%);
            text-shadow: 0px 1px 0 rgba(255, 255, 255, 1);
        }
        .turntable {
            width: 87%;
            position: absolute;
            top: 455px;
            left: 50%;
            transform: translateX(-50%);
            .dish {
                width: 100%;
                .dish_bg {
                    width: 100%;
                }
                .dish_q {
                    width: 90%;
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                }
            }
            .neddle {
                width: 27%;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                img {
                    width: 100%;
                }
            }
        }
        .cloud {
            width: 100%;
            height: 226px;
            background: url(../img/cloud.png) no-repeat left bottom /100%;
            position: absolute;
            bottom: 0;
            left: 0;
        }
    }
}

//活动说明页面
.web {
    .explain {
        width: 100%;
        height: 100%;
        z-index: 9;
        display: none;
        position: relative;
        .explain_con {
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            .explain_pic {
                width: 83%;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                img {
                    width: 100%;
                }
            }
            .explain_close {
                position: absolute;
                top: 2%;
                left: 91%;
                width: 6%;
                img {
                    width: 100%;
                }
            }
        }
    }
}

//我的奖品页面
.web {
    .prize_con {
        width: 100%;
        height: 100%;
        z-index: 9;
        position: relative;
        display: none;
        .prize_main {
            width: 100%;
            height: 100%;
            background: url(../img/prize_bg.png) no-repeat top/100%;
            background-color: #f0f0f0;
            .service {
                width: 87%;
                height: 61px;
                position: absolute;
                top: 215px;
                left: 6.5%;
                font-size: 26px;
                color: white;
                text-align: center;
                background: #2f9ce0;
                border-radius: 30px;
                line-height: 60px;
                 :nth-child(2) {
                    margin-right: 10%;
                }
                .icon-qie,
                .icon-dianhua {
                    font-size: 34px;
                }
            }
            .prize_juan_con {
                width: 100%;
                position: absolute;
                top: 290px;
                .prize_juan {
                    background: white;
                    vertical-align: middle;
                    padding: 3% 0;
                    margin-bottom: 5px;
                    .juan {
                        width: 28%;
                        margin-left: 3%;
                        float: left;
                        img {
                            width: 100%;
                        }
                    }
                    .juan_right {
                        float: left;
                        margin-left: 4%;
                        white-space: nowrap;
                        overflow: hidden;
                        width: 65%;
                        .juan_con {
                            display: inline-block;
                            color: #333333;
                            width: 82%;
                            overflow: hidden;
                            .juan_con_top {
                                font-size: 30px;
                                padding: 4% 0;
                            }
                            .juan_con_bottom {
                                font-size: 18px;
                                padding: 3% 0;
                            }
                        }
                        .juan_trun {
                            font-size: 50px;
                            color: #c8c8c8;
                            float: right;
                            line-height: 130px;
                            margin-right: 3%;
                        }
                    }
                }
            }
            .prize_close {
                width: 6%;
                position: absolute;
                top: 15px;
                left: 92%;
                img {
                    width: 100%;
                }
            }
        }
    }
}

//跳转页面
.web {
    .detail {
        display: none;
        width: 100%;
        height: 100%;
        z-index: 9;
        background: rgba(0, 0, 0, 0.8);
        position: relative;
        .detail_con {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 88%;
            .sun_bg {
                width: 100%;
                img {
                    width: 100%;
                }
            }
            .Rotate {
                animation-name: Rotate;
                animation-duration: 4s;
                animation-timing-function: linear;
                animation-iteration-count: infinite;
                animation-direction: normal;
            }
            @keyframes Rotate {
                0% {
                    transform: rotate(0deg)
                }
                100% {
                    transform: rotate(360deg)
                }
            }
            .detail_main {
                .detail_bg {
                    width: 75%;
                    position: absolute;
                    bottom: -30px;
                    left: 50%;
                    transform: translateX(-50%);
                    img {
                        width: 100%;
                    }
                }
                .youhuijuan {
                    width: 64%;
                    position: absolute;
                    left: 50%;
                    transform: translateX(-50%);
                    top: 205px;
                    overflow: hidden;
                    img {
                        width: 100%;
                        height: 100%;
                        border-radius: 7px;
                    }
                }
                p {
                    width: 57%;
                    white-space: nowrap;
                    overflow: hidden;
                    font-size: 26px;
                    color: #1b79d2;
                    text-align: center;
                    position: absolute;
                    left: 50%;
                    transform: translateX(-50%);
                    top: 402px;
                }
                .get_button {
                    width: 30%;
                    position: absolute;
                    left: 50%;
                    transform: translateX(-50%);
                    bottom: -7px;
                    img {
                        width: 100%;
                    }
                }
            }
            .detail_close {
                width: 6%;
                position: absolute;
                left: 83%;
                top: 30px;
                img {
                    width: 100%;
                }
            }
        }
    }
}

@media screen and(width:768px)and(min-height:1024px) {
    .web {
        .container {
            .turntable {
                width: 75%;
            }
            .cloud {
                display: none;
            }
        }
    }
}

@media screen and(max-width: 650px) {
    //奖品页面
    .web {
        .prize_con {
            .prize_main {
                .service {
                    font-size: 21px;
                    height: 50px;
                    line-height: 50px;
                    border-radius: 25px;
                    top: 200px;
                    .icon-qie,
                    .icon-dianhua {
                        font-size: 23px;
                    }
                }
                .prize_juan_con {
                    top: 100px;
                }
            }
        }
    }
}

@media only screen and (max-width: 480px) {
    // 抽奖页面
    .web {
        .container {
            .title {
                height: 54px;
                top: 95px;
                h1 {
                    font-size: 20px;
                    line-height: 44px;
                }
            }
            .tips {
                .prize,
                .rule {
                    top: 90px;
                    span {
                        font-size: 14px;
                    }
                }
                .prize {
                    left: 135px;
                }
                .rule {
                    left: 213px;
                }
            }
            .message {
                top: 180px;
                .mess_con {
                    position: absolute;
                    top: 3px;
                    left: 50%;
                    transform: translateX(-50%);
                    font-size: 15px;
                    .icon-laba {
                        font-size: 18px;
                    }
                    .scroll {
                        width: 70%;
                    }
                }
            }
            .time {
                font-size: 17px;
                top: 215px;
            }
            .turntable {
                top: 265px;
            }
        }
    }
    //奖品页面
    .web {
        .prize_con {
            .prize_main {
                .service {
                    font-size: 14px;
                    height: 34px;
                    line-height: 34px;
                    border-radius: 20px;
                    top: 137px;
                    .icon-qie,
                    .icon-dianhua {
                        font-size: 15px;
                    }
                }
                .prize_juan_con {
                    top: 180px;
                    .prize_juan {
                        .juan_right {
                            .juan_con {
                                .juan_con_top {
                                    font-size: 20px;
                                    padding: 2% 0;
                                }
                                .juan_con_bottom {
                                    font-size: 15px;
                                    padding: 2% 0;
                                }
                            }
                            .juan_trun {
                                line-height: 74px;
                            }
                        }
                    }
                }
            }
        }
    }
    //跳转页面
    .web {
        .detail {
            .detail_con {
                .detail_main {
                    .youhuijuan {
                        top: 140px;
                    }
                    p {
                        top: 265px;
                        font-size: 18px;
                    }
                    .get_button {
                        bottom: -15px;
                    }
                }
                .detail_close {
                    top: 15px;
                }
            }
        }
    }
}

@media only screen and (max-width: 414px) {
    //跳转页面
    .web {
        .detail {
            .detail_con {
                .detail_main {
                    .youhuijuan {
                        top: 125px;
                    }
                    p {
                        top: 232px;
                        font-size: 15px;
                    }
                    .get_button {
                        bottom: -17px;
                    }
                }
                .detail_close {
                    top: 15px;
                }
            }
        }
    }
    //我的奖品页面
    .web {
        .prize_con {
            .prize_main {
                .service {
                    top: 120px;
                }
                .prize_juan_con {
                    top: 170px;
                }
            }
        }
    }
}

@media only screen and (max-width: 376px) {
    // 抽奖页面
    .web {
        .container {
            .title {
                height: 50px;
                top: 90px;
                h1 {
                    font-size: 20px;
                    line-height: 44px;
                }
            }
            .tips {
                .prize,
                .rule {
                    top: 83px;
                    span {
                        font-size: 12px;
                    }
                }
                .prize {
                    left: 120px;
                }
                .rule {
                    left: 195px;
                }
            }
            .message {
                top: 170px;
                .mess_con {
                    font-size: 12px;
                    .icon-laba {
                        font-size: 12px;
                    }
                    .scroll {
                        width: 73%;
                    }
                }
            }
            .time {
                font-size: 14px;
                top: 195px;
            }
            .turntable {
                top: 230px;
            }
        }
    }
    //我的奖品页面
    .web {
        .prize_con {
            .prize_main {
                .service {
                    font-size: 10px;
                    height: 27px;
                    line-height: 27px;
                    border-radius: 15px;
                    top: 110px;
                    .icon-qie,
                    .icon-dianhua {
                        font-size: 11px;
                    }
                }
                .prize_juan_con {
                    top: 150px;
                    .prize_juan {
                        .juan_right {
                            .juan_con {
                                width: 65%;
                                .juan_con_top {
                                    font-size: 18px;
                                    padding: 2% 0;
                                }
                                .juan_con_bottom {
                                    font-size: 15px;
                                    padding: 2% 0;
                                }
                            }
                            .juan_trun {
                                line-height: 65px;
                            }
                        }
                    }
                }
            }
        }
    }
    //跳转页面
    .web {
        .detail {
            .detail_con {
                .detail_main {
                    .youhuijuan {
                        top: 115px;
                    }
                    p {
                        top: 215px;
                        font-size: 12px;
                    }
                    .get_button {
                        bottom: -18px;
                    }
                }
            }
        }
    }
}

@media only screen and (max-width: 370px) {
    //抽奖页面
    .web {
        .container {
            .title {
                height: 50px;
                top: 80px;
                h1 {
                    font-size: 20px;
                    line-height: 44px;
                }
            }
        }
    }
    //我的奖品
    .web {
        .prize_con {
            .prize_main {
                .service {
                    font-size: 10px;
                    height: 27px;
                    line-height: 27px;
                    border-radius: 15px;
                    top: 110px;
                    .icon-qie,
                    .icon-dianhua {
                        font-size: 11px;
                    }
                }
                .prize_juan_con {
                    top: 150px;
                }
            }
        }
    }
}

@media only screen and (max-width: 360px) {
    //跳转页面
    .web {
        .detail {
            .detail_con {
                .detail_main {
                    .youhuijuan {
                        top: 112px;
                    }
                    p {
                        top: 206px;
                        font-size: 12px;
                    }
                }
            }
        }
    }
}

@media only screen and (max-width: 340px) {
    //抽奖页面
    .web {
        .container {
            .title {
                height: 50px;
                top: 90px;
                h1 {
                    font-size: 14px;
                    line-height: 44px;
                }
            }
            .tips {
                .prize,
                .rule {
                    top: 83px;
                    span {
                        font-size: 10px;
                    }
                }
                .prize {
                    left: 107px;
                }
                .rule {
                    left: 164px;
                }
            }
            .message {
                top: 170px;
                .mess_con {
                    top: 1px;
                    .scroll {
                        width: 70%;
                    }
                }
            }
            .time {
                font-size: 12px;
            }
            .turntable {
                top: 225px;
            }
        }
    }
    //我的奖品
    .web {
        .prize_con {
            .prize_main {
                .service {
                    top: 100px;
                }
                .prize_juan_con {
                    top: 135px;
                    .prize_juan {
                        .juan_right {
                            .juan_con {
                                .juan_con_top {
                                    font-size: 15px;
                                }
                                .juan_con_bottom {
                                    font-size: 12px;
                                }
                            }
                            .juan_trun {
                                font-size: 40px;
                                line-height: 55px;
                            }
                        }
                    }
                }
            }
        }
    }
    //跳转页面
    .web {
        .detail {
            .detail_con {
                .detail_main {
                    .youhuijuan {
                        top: 107px;
                    }
                    p {
                        top: 195px;
                        font-size: 12px;
                    }
                }
            }
        }
    }
}